package com.wjb.model;

<<<<<<< HEAD

=======
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/**
 * @Description: 用一句话描述
 * @Auther: 新梦想*陈超
 * @Date: 2019-10-27 15:41
 */
>>>>>>> a51c92e5878fafca5f9e81825229ec1434dceb62
public class EbProductCategory {
    protected Integer epcId;
    protected String epcName;
    protected Integer epcParentId;

    public Integer getEpcId() {
        return epcId;
    }

    public void setEpcId(int epcId) {
        this.epcId = epcId;
    }

    public String getEpcName() {
        return epcName;
    }

    public void setEpcName(String epcName) {
        this.epcName = epcName;
    }

    public Integer getEpcParentId() {
        return epcParentId;
    }

    public void setEpcParentId(int epcParentId) {
        this.epcParentId = epcParentId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        EbProductCategory that = (EbProductCategory) o;
        return epcId == that.epcId &&
                epcParentId == that.epcParentId &&
                Objects.equals(epcName, that.epcName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(epcId, epcName, epcParentId);
    }

    @Override
    public String toString() {
        return "EbProductCategory{" +
                "epcId=" + epcId +
                ", epcName='" + epcName + '\'' +
                ", epcParentId=" + epcParentId +
                '}';
    }
}